package com.design.chatroom;

public class Test {

    public static void main(String[] args) {
        ChatRoom chatRoom = new ChatRoom();
        User lisa = new User("lisa", chatRoom);

        User jerry = new User("jerry", chatRoom);

        lisa.sendMessage("Hi ! I am lisa.");
        jerry.sendMessage("Hello! My name is jerry!");

    }
}
